package it.ap.sa.core.dao.util;

import java.io.Serializable;
import java.time.LocalDateTime;

import javax.persistence.Column;
import javax.persistence.MappedSuperclass;

@MappedSuperclass
public abstract class UserDateModel implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	private String userins;

	private String usermod;

	private LocalDateTime dateins;

	private LocalDateTime datemod;

	@Column(name = "userins", nullable = false)
	public String getUserins() {
		return userins;
	}

	public void setUserins(String userins) {
		this.userins = userins;
	}
	
 	@Column(name = "usermod")
	public String getUsermod() {
		return usermod;
	}

	public void setUsermod(String usermod) {
		this.usermod = usermod;
	}
	@Column(name = "dateins", nullable = false, length = 29)
	public LocalDateTime getDateins() {
		return dateins;
	}

	public void setDateins(LocalDateTime dateins) {
		this.dateins = dateins;
	}
	
	@Column(name = "datemod", length = 29)
	public LocalDateTime getDatemod() {
		return datemod;
	}

	public void setDatemod(LocalDateTime datemod) {
		this.datemod = datemod;
	}
}
